package com.youku.data
{
   import com.youku.PlayerConfig;
   import com.youku.interfaces.IRootData;
   import com.youku.GlobalService;
   import com.youku.GlobalServiceKeys;
   import com.youku.interfaces.IPlayerProxy;
   
   public class PlayerContext extends Object
   {
      
      public function PlayerContext() {
         super();
      }
      
      public static var volume:Number = 0;
      
      public static function get loopPlay() : Boolean {
         var _loc1_:IRootData = PlayerConfig.rootData;
         var _loc2_:IPlayerProxy = GlobalService.getService(GlobalServiceKeys.PLAYER_PROXY) as IPlayerProxy;
         var _loc3_:* = false;
         if((_loc1_.showLoop) && (_loc2_.fsoProxy.getLoopSetting()))
         {
            _loc3_ = true;
         }
         if(_loc1_.isLoop)
         {
            _loc3_ = true;
         }
         return _loc3_;
      }
   }
}
